<?php
if (!empty($_FILES)) {
		$tamano = $_FILES["Filedata"]['size'];
        $tipo = $_FILES["Filedata"]['type'];
        $fichero = $_FILES["Filedata"]['name'];
		$prefijo=$_POST['prefijo'];
		$destino =  "../webcam/Profile_photos/".$prefijo."profile_".date('Ymd').".jpg";
		copy($_FILES['Filedata']['tmp_name'],$destino);
		echo $targetFile;
}
?>